<%@page import="jwj8508.j2ee.basic.projectv5.dao.MemberDAO"%>
<%@page import="java.sql.DriverManager"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page import="java.sql.Connection"%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<style type="text/css">
	form { width: 270px; margin: 0 auto; }
	label {	font-weight: bold; display: inline-block; width: 80px;
		text-align: right; margin: 0 10px 10px 0; }
</style>
<jsp:useBean id="m" class="jwj8508.j2ee.basic.projectv5.model.MemberVO" />
<jsp:setProperty property="*" name="m" />
<%
	m = new MemberDAO().readMember(m);
%>
<div id="content">
	<h2>회원정보</h2>
	<form id="myinfo" name="myinfo">
		<div>
			<label for="mno">회원번호</label> <span id="mno"><%=m.getMno() %></span>
		</div>
		<div>
			<label for="uid">아이디</label> <span id="uid">${m.uid }</span>
		</div>
		<div>
			<label for="pwd">비밀번호</label> <span id="pwd"><%=m.getPwd() %></span>
		</div>
		<div>
			<label for="name">이름</label> <span id="name"><%=m.getName() %></span>
		</div>
		<div>
			<label for="regdate">가입일</label> <span id="regdate"><%=m.getRdate() %></span>
		</div>
	</form>
</div>
<!-- content -->